Don't return G_TYPE_INVALID as a pointer
authorMatthias Clasen <mclasen@redhat.com>
Sun, 22 Mar 2015 19:19:59 +0000 (15:19 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 22 Mar 2015 19:19:59 +0000 (15:19 -0400)
commit70f6faf0f1d1011f75cde28796ff5a3405cc5a78
treed0cbc67397aacd98e6b811366a00e0c2369fa402
parentc723eba1353f973e7ef6cb5f921cb109961cd9d8
Don't return G_TYPE_INVALID as a pointer

Use NULL for g_return_val_if_fail checks if the function returns
a pointer. Pointed out by clang.
gtk/gtkwidgetpath.c